﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entities
{
    /// <summary>
    /// Represents alls information about Profile of User
    /// </summary>
    public class Profile
    {
        #region Variable Private
        private int _profileID;
        private int _userID;
        private string _fullName;
        private string _professional;
        private string _qualification;
        private byte _experience;
        private bool _gender;
        private DateTime _birthday;
        private string _avatarPath;
        private string _country;
        private string _address;
        private string _phone;
        private bool _isPublicProfile;
        #endregion

        #region Properties Public
        public int ProfileID
        {
            get { return _profileID; }
            set { _profileID = value; }
        }
        public int UserID
        {
            get { return _userID; }
            set { _userID = value; }
        }
        public string FullName
        {
            get { return _fullName; }
            set { _fullName = value; }
        }
        public string Professional
        {
            get { return _professional; }
            set { _professional = value; }
        }
        public string Qualification
        {
            get { return _qualification; }
            set { _qualification = value; }
        }
        public byte Experience
        {
            get { return _experience; }
            set { _experience = value; }
        }
        public bool Gender
        {
            get { return _gender; }
            set { _gender = value; }
        }
        public DateTime Birthday
        {
            get { return _birthday; }
            set { _birthday = value; }
        }
        public string AvatarPath
        {
            get { return _avatarPath; }
            set { _avatarPath = value; }
        }
        public string Country
        {
            get { return _country; }
            set { _country = value; }
        }
        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }
        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }
        public bool IsPublicProfile
        {
            get { return _isPublicProfile; }
            set { _isPublicProfile = value; }
        }
        #endregion

        #region Constructor
        public Profile() { }
        public Profile(int userId, string name, string profess, string quanlifi, byte experience, bool gender, DateTime birth, string avatar, string country, string address, string phone, bool isPublish)
        {
            this.UserID = userId;
            this.FullName = name;
            this.Professional = profess;
            this.Qualification = quanlifi;
            this.Experience = experience;
            this.Gender = gender;
            this.Birthday = birth;
            this.AvatarPath = avatar;
            this.Country = country;
            this.Address = address;
            this.Phone = phone;
            this.IsPublicProfile = isPublish;
        }
        public Profile(int profileID, int userId, string name, string profess, string quanlifi, byte experience, bool gender, DateTime birth, string avatar, string country, string address, string phone, bool isPublish)
        {
            this.ProfileID = profileID;
            this.UserID = userId;
            this.FullName = name;
            this.Professional = profess;
            this.Qualification = quanlifi;
            this.Experience = experience;
            this.Gender = gender;
            this.Birthday = birth;
            this.AvatarPath = avatar;
            this.Country = country;
            this.Address = address;
            this.Phone = phone;
            this.IsPublicProfile = isPublish;
        }
        #endregion
    }
}
